package myboot.myblog.pojo.domain;

import lombok.Data;

import java.util.Date;

/**
 * 留言实体类
 * @author hujh
 */
@Data
public class BlogComment {

    private Long commentId;

    private Long blogId;

    private String commentator;

    private String email;

    private String websiteUrl;

    private String commentBody;

    private Date commentCreateTime;

    private String commentatorIp;

    private String replyBody;

    private Date replyCreateTime;

    private Byte commentStatus;

    private Byte isDeleted;

    public BlogComment() {
    }

    public BlogComment(Long blogId, String commentator, String email,String websiteUrl, String commentBody, Date commentCreateTime) {
        this.blogId = blogId;
        this.commentator = commentator;
        this.email = email;
        this.websiteUrl = websiteUrl;
        this.commentBody = commentBody;
        this.commentCreateTime = commentCreateTime;
    }

}